package org.edu.modules.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.edu.modules.common.entity.VeBaseDictArea;

@Mapper
public abstract interface VeBaseDictAreaMapper extends BaseMapper<VeBaseDictArea> {
    public abstract List<VeBaseDictArea> getProvinceList();

    public abstract List<VeBaseDictArea> getCityList(Integer provinceId);

    public abstract List<VeBaseDictArea> getCountyList(Integer cityId);

    public abstract VeBaseDictArea getDictAreaByPidAndName(Integer id, Integer pid, String name);
}
